/**
 * 
 */
package org.vsg.common.web.json;

import java.util.List;

/**
 * @author Bill vison
 *
 */
public class TreeNode {
	
	private long id;
	
	private String text;
	
	private boolean leaf;
	
	private List<TreeNode> children;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean isLeaf() {
		return leaf;
	}

	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}

	public List getChildren() {
		return children;
	}

	public void setChildren(List children) {
		this.children = children;
	}
	
	
	

}
